#!/bin/bash

echo "开始打包"
mvn clean package -Dmaven.test.skip=true
cd target

scp  renren-generator-1.0.0.jar root@118.31.32.210:/opt/renren/

ssh root@118.31.32.210 'sh /opt/script/renren/generator/start.sh'